#!/bin/bash
# **********************************************************************
# piezometer process
# Copyright (C) Muhammad Fauzilkamil Zainuddin <jerungkun@gmail.com>
# http://coderstalk.blogspot.com
#
# Description to send piezometer data to server without leaving any 
# unwanted zombie process
#
# **********************************************************************

# include functions file
. /usr/share/piezometer/piezofunctions

pressure=$1
temp=$2

#echo "Pressure (kPa): $pressure"
#echo "Temp: $temp"

procpiezo $pressure $temp &

exit 0

